﻿{extend name="public:base" /}

{block name="content"}

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <form method="post">
                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">昵称</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" value="{$info.username}" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">手机号</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" value="{$info.mobile}" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">身份</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" value="{$prove_info.type_desc}" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        {if $info.company_prove_id > 0}
                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">企业名称</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" value="{$prove_info.company_name}" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">法人信息</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" value="{$prove_info.username} / {$prove_info.mobile}" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">相关证件</label>
                                <div class="col-sm-6">
                                    <div class="form-uploaded-box" id="form-uploaded-box-single" style="width: 140px">
                                        {if $prove_info.img}
                                        <div class="form-uploaded-img-box">
                                            <img class="form-uploaded-box-img" src="{:getPicture($prove_info.img)}" data-id="{$prove_info.img}">
                                            <i class="form-uploaded-img-preview iconfont icon-yulan" onclick="previewImg(this, 'form-uploaded-img-preview')"></i>
                                        </div>
                                        {/if}
                                    </div>
                                </div>

                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        {/if}

                        {if $info.student_prove_id > 0}
                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">学生信息</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" value="{$prove_info.username} / {$prove_info.mobile}" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">学生证</label>
                                <div class="col-sm-6">
                                    <div class="form-uploaded-box" style="width: 140px">
                                        {if $prove_info.xsz_img}
                                        <div class="form-uploaded-img-box">
                                            <img class="form-uploaded-box-img" src="{:getPicture($prove_info.xsz_img)}" data-id="{$info.img}">
                                            <i class="form-uploaded-img-preview iconfont icon-yulan" onclick="previewImg(this, 'form-uploaded-img-preview')"></i>
                                        </div>
                                        {/if}
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        <div class="box-item">
                            <div class="form-group row"><label class="col-sm-1 col-form-label">相关证件</label>
                                <div class="col-sm-6">
                                    <div class="form-uploaded-box" id="form-uploaded-box">
                                        {volist name="prove_info.imgs_arr" id="vo"}
                                        <div class="form-uploaded-img-box">
                                            <img class="form-uploaded-box-img" src="{$vo.path}" data-id="{$vo.id}">
                                            <i class="form-uploaded-img-preview form-uploaded-img-previews iconfont icon-yulan" onclick="previewImg(this, 'form-uploaded-img-previews')"></i>
                                        </div>
                                        {/volist}
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        {/if}


                        <div class="form-group row">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="button" class="btn btn-w-m btn-default back-page">返回</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="public/cropper-img-mask" cropper_uploaded_img_ids="cropper_uploaded_img_ids" cropper_uploaded_img_paths="cropper_uploaded_img_paths" crop_preview_box="crop-preview-box" /}
{include file="public/preview-img-mask" swiper-id="cropper-preview" /}
{/block}
